Skip to content

Don't update Salsa inputs unnecessarily#1313

Merged
lionel- merged 2 commits into
mainfrom
oak/fix-backdating
Jul 3, 2026
Merged

Don't update Salsa inputs unnecessarily#1313
lionel- merged 2 commits into
mainfrom
oak/fix-backdating

Conversation

@lionel-

@lionel- lionel- commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Part of #1212

Flagged by Fable. There's no backdating for Salsa inputs! So we have to conditionally set them to prevent invalidation.

Unfortunately there's no easy way to gate the setters. We could wrap the Salsa inputs in a newtype but that would have ergonomy costs.

Since new code that writes to the database should be fairly rare from now on, we can just be careful about this when it comes up.

@lionel- lionel- requested a review from DavisVaughan July 3, 2026 08:58
@DavisVaughan

Copy link
Copy Markdown
Contributor

I'm remembering that I read this in https://hackmd.io/5ddaZLKYSVC_YTTD3SzRDw?view#Input-Structs

Screenshot 2026-07-03 at 8 31 16 AM

@lionel- lionel- merged commit 9858c1c into main Jul 3, 2026
17 checks passed
@lionel- lionel- deleted the oak/fix-backdating branch July 3, 2026 12:56
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants